package com.example.myDesignPatterns.结构型模式.适配器模式Adapter.类适配器模式;

import com.example.myDesignPatterns.结构型模式.适配器模式Adapter.common.Computer;
import com.example.myDesignPatterns.结构型模式.适配器模式Adapter.common.SDCardImpl;

//测试类
public class Client {
    public static void main(String[] args) {
        Computer computer = new Computer();
        SDCardImpl sdCard = new SDCardImpl();
        System.out.println(computer.readSD(sdCard));

        SDAdapterTF sdAdapterTF = new SDAdapterTF();
        System.out.println(computer.readSD(sdAdapterTF));
    }
}
